@extends('admin.layouts.layout')

@section('title',$title)

@section('content')
    <form action="{{ url('admin/user/update',$userInfo->id) }}" method="post">
        {{ csrf_field() }}
        name:<input type="text" name="name" value="{{$userInfo->name}}"> <br>
        password:<input type="text" name="password" value="{{$userInfo->password}}"> <br>
        <button type="submit">提交</button>
    </form>
@endsection

@section('script')
    <script>
        alert(123);
    </script>
@endsection